<?php
namespace Admin\Controller;
use Think\Controller;
class CommonController extends Controller {
	
	public function __construct(){
		parent::__construct();
		if(!session('id')){
			$this->error('请先登录系统！',U('Login/index'));
		}
	}
}